package com.software.seakdream.service;

import com.software.seakdream.entity.LullabyInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LullabyInfoServiceImpl implements LullabyInfoService{


    @Autowired
    private com.software.seakdream.repository.LullabyInfoRepository LullabyInfoRepository;
    @Override
    public List<LullabyInfo> queryLullabyByType(String phone) {

        List<LullabyInfo> queryLullabys = LullabyInfoRepository.queryLullabyByType(phone);
        return queryLullabys;
    }
}
